package com.xh.bussiness.thirdapi.xiaobao.dto.VO;

import lombok.Data;

/**
 * @author Pitt Cheung
 * @date 2021/6/23 16:24
 */
@Data
public class XbResultVO<T> {

    private Integer code;

    private String message;

    private T data;

    public XbResultVO() {
    }

    public XbResultVO(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public XbResultVO(Integer code, String message, T data) {
        this.code = code;
        this.message = message;
        this.data = data;
    }

}
